import { createPinia } from 'pinia';
import { useAppStore } from './modules/app';
import { useUserStore } from './modules/user';
// import { usePermissionStore } from './modules/permission';
import { useZhichengStore } from './modules/zhicheng';

import piniaPluginPersistedstate from 'pinia-plugin-persistedstate';

const pinia = createPinia();
pinia.use(piniaPluginPersistedstate);

// export { useAppStore, useUserStore, usePermissionStore };
export { useAppStore, useUserStore, useZhichengStore };
export default pinia;
